﻿using Domain.Entity.Config;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository.IConfig
{

    /// <summary>
    /// 职位设置   
    /// </summary>
    public interface IConfig_majorAppService
    {
        //查询
        Task<List<Config_major>> GetCMAsync();

        // 添加
        Task<int> AddCMAsync(Config_major  config_Major);
        Task<List<Config_major>> GetCMAsyncById(string id);
        Task<Config_major> GetCMSAsyncById(string id);
         // 删除
        Task<int> DeleteCMAsync(int Id);






        //暂时不用修改 修改
        Task<int> UpdateCMAsync(Config_major  config_Major);
    }
}
